package com.ysstech.etfmanage.feign;


import com.ysstech.etfmanage.feign.entity.FuturesDealDetailed;
import com.ysstech.etfmanage.feign.entity.Quotation;
import com.ysstech.etfmanage.feign.entity.SecuritiesDealDetailed;
import com.ysstech.etfmanage.feign.entity.StockDealDetailed;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Slf4j
@Component
public class FeignValuationServiceFallback implements FeignValuationService {

    public Map<String, List<SecuritiesDealDetailed>> queryStockDealDetailed(StockDealDetailed stockDealDetailed) {
        log.error("获取股票交易流水失败，请稍后重试！");
        return null;
    }

    public Map<String, List<SecuritiesDealDetailed>> queryFuturesDealDetailed(FuturesDealDetailed futuresDealDetailed) {
        log.error("获取期货交易流水失败，请稍后重试！");
        return null;
    }

    public Map<String, List<Quotation>> queryQuotationCache(String fdate) {
        log.error("获取行情信息失败，请稍后重试！");
        return null;
    }
}
